﻿using System;

namespace Repository.Lib
{
  public interface IUnitOfWork : IDisposable
  {
    IRepository<TEntity> GetRepository<TEntity>() where TEntity : class;

    int SaveChanges();
  }
}